﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels.QualityAssurance;

namespace MyMES.Dto
{
    /// <summary>
    /// 物料分类DTO，包含父子级关系
    /// </summary>
    public class MaterialCatalogDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public int Id { get; set; }
        
        /// <summary>
        /// 分类名称
        /// </summary>
        public string ClassifyName { get; set; }

        /// <summary>
        /// 子分类列表
        /// </summary>
        public List<MaterialCatalogDto> Children { get; set; } = new List<MaterialCatalogDto>();
    }
}
